/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.rs.client;

import java.util.Collection;
import java.util.List;

import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.rs.domain.resp.GetManufactureArchiveResponse;
import com.xy.biz.rs.domain.req.GetManufactureArchiveRequest;
import com.xy.biz.rs.domain.req.ListManufactureArchiveRequest;

/**
 *
 *
 * @author wwj
 * @date 2021-4-19
 */
public interface ManufactureArchiveClient {

	/**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 */
	Result<GetManufactureArchiveResponse> getManufactureArchive(GetManufactureArchiveRequest request);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 */
	Result<List<GetManufactureArchiveResponse>> listManufactureArchiveById(Collection<Long> collection);

	/**
	 * 查找多个
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<List<GetManufactureArchiveResponse>> listManufactureArchive(ListManufactureArchiveRequest request);

	/**
	 * 统计个数
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Integer> countManufactureArchive(ListManufactureArchiveRequest request);

	/**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Page<GetManufactureArchiveResponse>> pageManufactureArchive(ListManufactureArchiveRequest request);

}
